﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QuotaAdmin.aspx.cs" Inherits="Mystery.SharePoint.Layouts.SPM.QuotaAdmin" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <asp:Literal ID="Literal1" runat="server" Text="<%$SPMResources:SPM.Foundation,Page_QuotaAdmin_Title%>" /> 
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
    <asp:Literal ID="Literal2" runat="server" Text="<%$SPMResources:SPM.Foundation,Page_QuotaAdmin_Title%>" /> 
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <asp:Literal ID="Literal3" runat="server" Text="<%$SPMResources:SPM.Foundation,Page_QuotaAdmin_Description%>" />
</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">

<table border="0" cellspacing="0" cellpadding="0" class="ms-propertysheet" width="100%">

	<!-- Storage quota -->
	<wssuc:InputFormSection runat="server"
		Title="<%$SPMResources:SPM.Foundation, Page_QuotaAdmin_StorageQuota_Text%>"
		Description="<%$SPMResources:SPM.Foundation, Page_QuotaAdmin_StorageQuota_Description%>"
		id="idTitleDescSection">
		<Template_InputFormControls>
			<wssuc:InputFormControl runat="server"
				LabelText="<%$SPMResources:SPM.Foundation, Page_QuotaAdmin_StorageMaximumLevel_Title%>">
				<Template_Control>
                    <%= this.StorageMaximumLevelMB %> MB
				</Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl runat="server"
				LabelText="<%$SPMResources:SPM.Foundation, Page_QuotaAdmin_StorageWarningLevel_Title%>">
				<Template_Control>
					<%= this.StorageWarningLevelMB%> MB
				</Template_Control>
			</wssuc:InputFormControl>
            <wssuc:InputFormControl runat="server"
				LabelText="<%$SPMResources:SPM.Foundation, Page_QuotaAdmin_CurrentUsage_Title%>">
				<Template_Control>
					<%= this.StorageMB.ToString("F0")%> MB
				</Template_Control>
			</wssuc:InputFormControl>
            <wssuc:InputFormControl runat="server">
				<Template_Control>
					<asp:HyperLink runat="server" 
                        ID="StorageRequestLink" 
                        Text="<%$SPMResources:SPM.Foundation, Page_QuotaAdmin_StorageRequest_Title%>" />
				</Template_Control>
			</wssuc:InputFormControl>
            
		</Template_InputFormControls>
	</wssuc:InputFormSection>
	
	<wssuc:ButtonSection runat="server" ShowSectionLine="false" ShowStandardCancelButton="false">
        <Template_Buttons>
				<asp:Button 
					UseSubmitBehavior="false" 
					runat="server" 
					class="ms-ButtonHeightWidth" 
					OnClientClick="window.history.back(); return false;"
					Text="<%$Resources:wss,multipages_cancelbutton_text%>" 
					id="BtnCancel" 
					accesskey="<%$Resources:wss,cancelbutton_accesskey%>"/>
			</Template_Buttons>
    </wssuc:ButtonSection>
   </table>

</asp:Content>

